let Player =  function(opts){
    this.uid = opts.uid;
    this.tid = opts.tid || -1 ;
    this.sid = opts.sid || -1 ;
    this.bsid = opts.bsid || -1 ;
    this.name = opts.name || '' ;
    this.img = opts.img || '',
    this.sex = opts.sex || '',
    this.seatId = -1 ;
    this.score =  0;
    this.handCard =  [];
    this.outCard = [];
    this.pgCard = [];
    this.oprate = [];
    this.moCard = -1;
};
Player.prototype.reset = function(){
    this.handCard =  [];
    this.outCard = [];
    this.pgCard = [];
    this.oprate = [];
    this.moCard = -1;
};


module.exports = Player;
